package com.example.message2;

public class Message {
	private int id;
	private int sender;
	private int receiver;
	private String text;
	
	public Message() {

		this.id=-1;
		this.sender=-1;
		this.receiver=-1;
		this.text="";
	}

	public Message(int id, int sender, int receiver, String text) {
		this.id=id;
		this.sender=sender;
		this.receiver=receiver;
		this.text=text;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSender() {
		return sender;
	}
	public void setSender(int sender) {
		this.sender = sender;
	}
	
	public int getReceiver() {
		return receiver;
	}
	public void setReceiver(int receiver) {
		this.receiver = receiver;
	}
	
	public String getText() {
		return text;
	}
	
	public void setText(String text){
		this.text=text;
	}
}
